﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F9B RID: 3995
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMiracleInfo : IMessage<RogueMiracleInfo>, IMessage, IEquatable<RogueMiracleInfo>, IDeepCloneable<RogueMiracleInfo>, IBufferMessage
	{
		// Token: 0x170032A5 RID: 12965
		// (get) Token: 0x0600B2FF RID: 45823 RVA: 0x001E394F File Offset: 0x001E1B4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMiracleInfo> Parser
		{
			get
			{
				return RogueMiracleInfo._parser;
			}
		}

		// Token: 0x170032A6 RID: 12966
		// (get) Token: 0x0600B300 RID: 45824 RVA: 0x001E3956 File Offset: 0x001E1B56
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMiracleInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170032A7 RID: 12967
		// (get) Token: 0x0600B301 RID: 45825 RVA: 0x001E3968 File Offset: 0x001E1B68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMiracleInfo.Descriptor;
			}
		}

		// Token: 0x0600B302 RID: 45826 RVA: 0x001E396F File Offset: 0x001E1B6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMiracleInfo()
		{
		}

		// Token: 0x0600B303 RID: 45827 RVA: 0x001E3984 File Offset: 0x001E1B84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMiracleInfo(RogueMiracleInfo other) : this()
		{
			this.lBLCAOFONOO_ = other.lBLCAOFONOO_;
			this.bBGFGGGNACF_ = other.bBGFGGGNACF_;
			this.miracleList_ = other.miracleList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B304 RID: 45828 RVA: 0x001E39D1 File Offset: 0x001E1BD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMiracleInfo Clone()
		{
			return new RogueMiracleInfo(this);
		}

		// Token: 0x170032A8 RID: 12968
		// (get) Token: 0x0600B305 RID: 45829 RVA: 0x001E39D9 File Offset: 0x001E1BD9
		// (set) Token: 0x0600B306 RID: 45830 RVA: 0x001E39E1 File Offset: 0x001E1BE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LBLCAOFONOO
		{
			get
			{
				return this.lBLCAOFONOO_;
			}
			set
			{
				this.lBLCAOFONOO_ = value;
			}
		}

		// Token: 0x170032A9 RID: 12969
		// (get) Token: 0x0600B307 RID: 45831 RVA: 0x001E39EA File Offset: 0x001E1BEA
		// (set) Token: 0x0600B308 RID: 45832 RVA: 0x001E39F2 File Offset: 0x001E1BF2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BBGFGGGNACF
		{
			get
			{
				return this.bBGFGGGNACF_;
			}
			set
			{
				this.bBGFGGGNACF_ = value;
			}
		}

		// Token: 0x170032AA RID: 12970
		// (get) Token: 0x0600B309 RID: 45833 RVA: 0x001E39FB File Offset: 0x001E1BFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueMiracle> MiracleList
		{
			get
			{
				return this.miracleList_;
			}
		}

		// Token: 0x0600B30A RID: 45834 RVA: 0x001E3A03 File Offset: 0x001E1C03
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMiracleInfo);
		}

		// Token: 0x0600B30B RID: 45835 RVA: 0x001E3A14 File Offset: 0x001E1C14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMiracleInfo other)
		{
			return other != null && (other == this || (this.LBLCAOFONOO == other.LBLCAOFONOO && this.BBGFGGGNACF == other.BBGFGGGNACF && this.miracleList_.Equals(other.miracleList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B30C RID: 45836 RVA: 0x001E3A74 File Offset: 0x001E1C74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.LBLCAOFONOO != 0U)
			{
				num ^= this.LBLCAOFONOO.GetHashCode();
			}
			if (this.BBGFGGGNACF != 0U)
			{
				num ^= this.BBGFGGGNACF.GetHashCode();
			}
			num ^= this.miracleList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B30D RID: 45837 RVA: 0x001E3ADA File Offset: 0x001E1CDA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B30E RID: 45838 RVA: 0x001E3AE2 File Offset: 0x001E1CE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B30F RID: 45839 RVA: 0x001E3AEC File Offset: 0x001E1CEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.miracleList_.WriteTo(ref output, RogueMiracleInfo._repeated_miracleList_codec);
			if (this.LBLCAOFONOO != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.LBLCAOFONOO);
			}
			if (this.BBGFGGGNACF != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.BBGFGGGNACF);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B310 RID: 45840 RVA: 0x001E3B58 File Offset: 0x001E1D58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.LBLCAOFONOO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LBLCAOFONOO);
			}
			if (this.BBGFGGGNACF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BBGFGGGNACF);
			}
			num += this.miracleList_.CalculateSize(RogueMiracleInfo._repeated_miracleList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B311 RID: 45841 RVA: 0x001E3BC4 File Offset: 0x001E1DC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMiracleInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.LBLCAOFONOO != 0U)
			{
				this.LBLCAOFONOO = other.LBLCAOFONOO;
			}
			if (other.BBGFGGGNACF != 0U)
			{
				this.BBGFGGGNACF = other.BBGFGGGNACF;
			}
			this.miracleList_.Add(other.miracleList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B312 RID: 45842 RVA: 0x001E3C25 File Offset: 0x001E1E25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B313 RID: 45843 RVA: 0x001E3C30 File Offset: 0x001E1E30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 96U)
					{
						if (num != 104U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.BBGFGGGNACF = input.ReadUInt32();
						}
					}
					else
					{
						this.LBLCAOFONOO = input.ReadUInt32();
					}
				}
				else
				{
					this.miracleList_.AddEntriesFrom(ref input, RogueMiracleInfo._repeated_miracleList_codec);
				}
			}
		}

		// Token: 0x04004866 RID: 18534
		private static readonly MessageParser<RogueMiracleInfo> _parser = new MessageParser<RogueMiracleInfo>(() => new RogueMiracleInfo());

		// Token: 0x04004867 RID: 18535
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004868 RID: 18536
		public const int LBLCAOFONOOFieldNumber = 12;

		// Token: 0x04004869 RID: 18537
		private uint lBLCAOFONOO_;

		// Token: 0x0400486A RID: 18538
		public const int BBGFGGGNACFFieldNumber = 13;

		// Token: 0x0400486B RID: 18539
		private uint bBGFGGGNACF_;

		// Token: 0x0400486C RID: 18540
		public const int MiracleListFieldNumber = 2;

		// Token: 0x0400486D RID: 18541
		private static readonly FieldCodec<RogueMiracle> _repeated_miracleList_codec = FieldCodec.ForMessage<RogueMiracle>(18U, RogueMiracle.Parser);

		// Token: 0x0400486E RID: 18542
		private readonly RepeatedField<RogueMiracle> miracleList_ = new RepeatedField<RogueMiracle>();
	}
}
